#!/bin/bash
set -x
set -e

source ./config/config
source ./script/lib.sh

#copy checkfile to mc server
for html_file_output in $(ls -l | grep wincloud-check | awk -F" " '{print $9}'); do
    mc_checkfile_push ${MINIO_NAME} ${MINIO_ENDPOINT} ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY}  ${html_file_output}
done
